package com.xuecheng.manage_cms;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.ComponentScan;

/**
 * @Author: Han_xu
 * @Date: 2018/11/16 下午 02:02
 * @Version 1.0
 */
@SpringBootApplication
@EntityScan(basePackages = "com.xuecheng.framework.domain.css")//扫描实体类的包
@ComponentScan(basePackages = "com.xuecheng.api")//扫描接口的包
@ComponentScan(basePackages = "com.xuecheng.manage_cms")//扫描引导类的包
public class ManageCmsApplication {
    public static void main(String[] args) {
        SpringApplication.run(ManageCmsApplication.class,args);
    }
}
